home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
fax
/
src
/
port
/
hpux
/
vsyslog.c
< prev
Wrap
C/C++ Source or Header
|
1994-08-01
|
250b
|
18 lines
#include <stdio.h>
#include <sys/types.h>
#include <stdarg.h>
#include <syslog.h>
void
vsyslog(pri, fmt, ap)
int pri;
register const char *fmt;
va_list ap;
{
char tbuf[2048];
(void)vsprintf(tbuf, fmt, ap);
(void)syslog(pri, tbuf);
return;
}